
public class For {
	
	public static void Funcao(int Vet[]){
		
		String Saida = "";
			
		for (int a :Vet){
			Saida = Saida +" " + a ;

			
					
		}
		StringBuffer sb = new StringBuffer(Saida); 
		sb.reverse(); 
		System.out.println(sb); 
		System.out.println(Saida);
		
		
	}

}
